package com.ruoyi.production.domain.seed;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 种子购买申请对象 seed_purchase_apply
 *
 * @author ruoyi
 * @date 2021-07-07
 */
public class SeedPurchaseApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主码 */
    private Long seedPurchaseApplyId;

    /** 蔬菜类型 */
    @Excel(name = "蔬菜类型")
    private Long cropTypeId;

    /** 种子类型：接穗| 砧木 */
    @Excel(name = "种子类型：接穗| 砧木")
    private String seedType;

    /** 品种名称 */
    @Excel(name = "品种名称")
    private String varietyName;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 申请量 */
    @Excel(name = "申请量")
    private Long applyAmount;

    /** 单位 */
    @Excel(name = "单位")
    private String applyUnit;

    /** 审批状态:0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "审批状态:0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setSeedPurchaseApplyId(Long seedPurchaseApplyId)
    {
        this.seedPurchaseApplyId = seedPurchaseApplyId;
    }

    public Long getSeedPurchaseApplyId()
    {
        return seedPurchaseApplyId;
    }
    public void setCropTypeId(Long cropTypeId)
    {
        this.cropTypeId = cropTypeId;
    }

    public Long getCropTypeId()
    {
        return cropTypeId;
    }
    public void setSeedType(String seedType)
    {
        this.seedType = seedType;
    }

    public String getSeedType()
    {
        return seedType;
    }
    public void setVarietyName(String varietyName)
    {
        this.varietyName = varietyName;
    }

    public String getVarietyName()
    {
        return varietyName;
    }
    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }

    public String getOriginCompany()
    {
        return originCompany;
    }
    public void setApplyAmount(Long applyAmount)
    {
        this.applyAmount = applyAmount;
    }

    public Long getApplyAmount()
    {
        return applyAmount;
    }
    public void setApplyUnit(String applyUnit)
    {
        this.applyUnit = applyUnit;
    }

    public String getApplyUnit()
    {
        return applyUnit;
    }
    public void setApprovalStatus(Long approvalStatus)
    {
        this.approvalStatus = approvalStatus;
    }

    public Long getApprovalStatus()
    {
        return approvalStatus;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("seedPurchaseApplyId", getSeedPurchaseApplyId())
            .append("cropTypeId", getCropTypeId())
            .append("seedType", getSeedType())
            .append("varietyName", getVarietyName())
            .append("originCompany", getOriginCompany())
            .append("applyAmount", getApplyAmount())
            .append("applyUnit", getApplyUnit())
            .append("approvalStatus", getApprovalStatus())
            .append("note", getNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
